Using Continuous Change Analysis to Understand the Practice of Refactoring
نویسندگان
چکیده
Despite the enormous success that manual and automated refactoring has enjoyed during the last decade, we know little about the practice of refactoring. Understanding the refactoring practice is important for developers, refactoring tool builders, and researchers. Many previous approaches to study refactorings are based on comparing code snapshots, which is imprecise, incomplete, and does not allow to answer research questions that involve time or compare manual and automated refactoring. We present the first empirical study that considers both manual and automated refactoring. This study is enabled by our novel algorithm, which infers refactorings from continuous changes. We applied this algorithm to the code evolution data collected from 23 developers working in their natural environment for 1,520 hours. Using a corpus of 5,269 refactorings, we reveal several surprising facts about how manual and automated refactorings are different. For example, some popular automated refactorings are not representative when taking into account manual refactorings. More than one third of the refactorings performed by developers are grouped. For some refactoring kinds, up to 42% of performed refactorings do not reach the Version Control System.
منابع مشابه
Using Continuous Code Change Analysis to Understand the Practice of Refactoring
Despite the enormous success that manual and automated refactoring has enjoyed during the last decade, we know little about the practice of refactoring. Understanding the refactoring practice is important for developers, refactoring tool builders, and researchers. Many previous approaches to study refactorings are based on comparing code snapshots, which is imprecise, incomplete, and does not a...
متن کاملA Unique Investigation of Knowledge Transfer Practices within the Muslim Business Community in Edinburgh
The aim of this research was to understand the dynamisms relating to knowledge transfer processes and practices, which exist within a business community in Edinburgh Scotland. The methodology used within this study was a uniquedesign methodology to include 20 in-depth interviews with participants from four local organizations. The sample group consisted of males aged between 20 and 70. The samp...
متن کاملکشف عوامل بازدارنده به کارگیری نتایج تحقیق در عملکرد بالینی پرستاران
Background and Aim : This paper describes the views of clinical nurses regarding the utilization of nursing research in practice. Many studies have taken a quantitative approach and have focused on why nurses constrain to develop research for nursing and research participation. There is a need to understand the factors restricting clinical nurses in using research findings. The aim of this st...
متن کاملIdentifying and Prioritizing the Key Factors of ERP System Implementation in Chaharmahal and Bakhtiari Saderat Bank using Theme Analysis Method and Fuzzy Dematel
The purpose of this study was to identify the key factors in implementing the organization's resource planning system in Chaharmahal and Bakhtiari Saderat Bank using theme analysis method. This research was a type of qualitative research that was done in an applied way. The research population consists of 15 experts and specialist in system implementation, resource planning in Chaharmahal and B...
متن کاملارتقاء پژوهش در دانشکده پرستاری و مامایی تهران،1383: گزارشی از یک تحقیق عملکردی
Introduction: Continuous professional development is an essential component within many health care 'Learning Organizations'. This paper describes an initiation to develop a professional practice development framework for faculties in Tehran Nursing and Midwifery School. Materials and Methods: The project was undertaken within an action research methodology with four phases .The goal of the pro...
متن کامل